---
title: "Accessibility Checker Rule Help: WCAG20_Table_Structure"
---
import "../../../styles/ToolHelp.scss"
import { CodeSnippet, Tag } from "carbon-components-react";

<div className="toolHelp">
<Row>
<Column colLg={16} colMd={8} colSm={4} className="toolHead">

### The {0} element with WAI-ARIA `presentation` role or `none` role has structural element(s) and/or attribute(s) {1}

<div id="locLevel"></div>

Table elements with `role=presentation` or `role=none` should not have structural elements or attributes

</Column>
</Row>
<Row>
<Column colLg={11} colMd={5} colSm={4} className="toolMain">

### Why is this important?

Assistive technologies use structural elements (`<th>`, `<caption>`) and attributes (`summary`, `scope`, `header`) to help users navigate and understand data tables. Including these features in layout tables makes the purpose of the table unclear.

<div id="locSnippet"></div>

### What to do

 * If the table is a data table, remove the `role` attribute;
 * OR, if a table is used for layout, use CSS-based layouts instead;
 * OR, if a layout table must be used, remove `<th>` elements, `<caption>` elements, `summary` attributes, and `scope` or `header` attributes on `<td>` elements.

</Column>
<Column colLg={5} colMd={3} colSm={4} className="toolLeft">

### About this requirement

[IBM 1.3.1 Info and Relationships](https://www.ibm.com/able/requirements/requirements/#1_3_1)
[WCAG 2.1 technique F46](https://www.w3.org/WAI/WCAG21/Techniques/failures/F46.html)
[WCAG 2.1 Technique F92](https://www.w3.org/WAI/WCAG21/Techniques/failures/F92.html)

### Who does this affect?

* Blind people using screen readers
* People with low vision using screen readers

</Column>
</Row>
</div>

export default ({ children, _frontmatter }) => (<React.Fragment>{children}</React.Fragment>)
